package com.dili.dd.gpi.mapper;

import com.dili.dd.gpi.domain.GpiSnapshot;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by zhaoYuan on 2015/3/25.
 */
@Repository
public interface ExtGpiSnapshotMapper {

    List<GpiSnapshot> findByParams(Map<String,Object> params);

    /**
     * 查找指定页面下的全部gpi
     * @param params
     * @return
     */
    List<GpiSnapshot> selectSubsByGpi(Map<String,Object> params);


    List<GpiSnapshot> selectSubsByIds(List<Integer> ids);


}
